package hku.cs.lunuo;


public class Main {
	
	public static void main(String[] args) {
			
		int junit_version = 3;
		String output_dir = "";
		String test = "";
		for (int i= 0; i < args.length; i++) {
			if (args[i].equals("-junit-version"))
				junit_version= Integer.parseInt(args[++i]);
			else if (args[i].equals("-output-dir"))
				output_dir= args[++i];
			else
				test= args[i];
		}
		String[] as = new String[] {output_dir, test};
		if(junit_version == 3)
			Main3.main(as);
		else if(junit_version == 4)
			Main4.main(as);
		
	}
	

}
